import Vue from 'vue'
import App from './App.vue'
import router from "./router";
import loadingDirective from "./components/loading/loading";
import store from "./store";

import './util/minUl.js'
Vue.config.productionTip = false;
import '../static/css/css/fonts/iconfont.css'
import '../static/css/css/global.css'
import './mock/mockServer'


Vue.directive('loading',loadingDirective)
new Vue({
  render: h => h(App),
  router, //引入这个router就相当于多了两个属性$route和$router
  store //相当于使用上vuex
}).$mount('#app')
